home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / vnc-common.postinst < prev    next >
Encoding:
Text File  |  2007-03-08  |  469 b   |  20 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = "configure" ]; then
  4.     MAN=/usr/share/man/man1
  5.     BIN=/usr/bin
  6.     update-alternatives --install \
  7.     $BIN/vncpasswd      vncpasswd            $BIN/realvncpasswd 70 \
  8.     --slave \
  9.     $MAN/vncpasswd.1.gz vncpasswd.1.gz       $MAN/realvncpasswd.1.gz
  10. fi
  11.  
  12. # Automatically added by dh_installdocs
  13. if [ "$1" = configure ] && which install-docs >/dev/null 2>&1; then
  14.     install-docs -i /usr/share/doc-base/vnc
  15. fi
  16. # End automatically added section
  17.  
  18.  
  19. exit 0
  20.